#ifndef __PROC_H__
#define __PROC_H__

#include <inc/types.h>

typedef void(*process_func_t)(void *);
int process_create(process_func_t func, void *data, uint32_t stack_size);
int process_create_wait(process_func_t func, void *data, uint32_t stack_size);

int cur_pid(void);
void schedule(void);

void *process_get_data(void);
void process_set_data(void *data);

void print_backtrace(void);

#endif
